package similan.br19;

public class Player implements Prioritable {

	private int priority;
	private String name;
	private int id;

	public Player(String name, int priority, int id) {
		this.name = name;
		this.priority = priority;
		this.id = id;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void setPriority(int priority) {
		this.priority = priority;
	}

	@Override
	public int getPriority() {
		return priority;
	}

	@Override
	public String getLabel(){
		return name;
	}

	@Override
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
}
